package com.easy.stock.spider;

import java.util.Comparator;

public class SpiderTaskComparator implements Comparator<SpiderTask> {

	@Override
	public int compare(SpiderTask t1, SpiderTask t2) {
		return t2.getStatus().ordinal()-t1.getStatus().ordinal(); 
	}

}
